#include <signal.h>
#include <sys/types.h>
#include <unistd.h>

#include <iostream>
using namespace std;

void signal_handler(int signum) { cout << "get a signal : " << signum << endl; }

int main() {
  //   signal(SIGINT, signal_handler);
  // for (int i = 1; i <= 31; ++i) {
  //   signal(i, signal_handler);
  // }
  while (1) {
    cout << "I am a crazy Process , PID : " << getpid() << endl;
    sleep(1);
  }
  return 0;
}